<?php
defined('IN_IA') or exit('Access Denied');
// 开发模式，在生产环境中，请一定要设置成false，否则后果很严重
!defined("KUYUAN_DEBUG") && define("KUYUAN_DEBUG",true);

// 模块名字
!defined("KUYUAN_NAME") && define("KUYUAN_NAME",'kuyuan_hb');

// 缓存标识
!defined("KUYUAN_CACHE_LABEL") && define("KUYUAN_CACHE_LABEL",'kuyuan_');

// ffmpeg目录配置
$_is_windows = stripos(php_uname("s"),"windows") !== false;
!defined("KUYUAN_FFMPEG") && define("KUYUAN_FFMPEG",array(
    'ffmpeg.binaries'  => $_is_windows ? 'C:\ffmpeg\bin\ffmpeg.exe' : '/usr/local/ffmpeg/bin/ffmpeg',
    'ffprobe.binaries' => $_is_windows ? 'C:\ffmpeg\bin\ffprobe.exe' : '/usr/local/ffmpeg/bin/ffprobe',
    'timeout'          => 3600, // The timeout for the underlying process
    'ffmpeg.threads'   => 2,
));